package com.example.recruitment_website.service;

import com.example.recruitment_website.domain.Tea;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

public interface TeaService {

    Page<Tea> findAll(Pageable pageable);
    Page<Tea> findAllBySort(PageRequest pageRequest, String sort);
    Page<Tea> findByKey(PageRequest pageRequest, String key);
}
